package com.epam.training.myspringioc.factory;

public interface BeanFactory {
	/**
	 * Get bean from container
	 * 
	 * @param string
	 * @return bean as Object
	 */
	public Object getBean(String string);

	/**
	 * Get bean from container with it type
	 * 
	 * @param string
	 * @param type
	 * @return
	 */
	public <T extends Object> T getBean(String string, Class<T> type);
}
